﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UC_ShopNavBar.ascx.cs" Inherits="ZLCMS.Web.Wap.Shop.UC_ShopNavBar" %>
<div class="storedefault">

<%if (Request["navbar"] == "1" && Kids.Count>0)
  { %>
        <div id="navFixed">
            <div id="proListnavbar">
        <div data-role="navbar"  nav="navFixed">
        <ul>
        <%foreach(var item in Kids){ %>
        <li <%=(int)item["id"]==CurrentCategory?"class='active'":"" %>>
        <a  data-theme="f"  href="/wap/shop/productlist.aspx?categoryid=<%=Request["categoryid"] %>&navbar=1&kid=<%=item["id"] %>" data-ajax="false"><%=item["name"] %></a>
        </li> 
        <%} %>
        
        </ul>
        </div>
        </div>
        </div>
<%--  <div class="navBar">
    </div>--%>
<%}
  else
  { %>
      <div class="search_store">
        <div style="width: 100%;">
            <%--<input type="search" id="keyword" name="keyword" placeholder="请输入搜索关键词">--%>
            <a href="/Wap/Shop/Search.aspx" data-ajax="false"><img src="images/search.png" />请输入搜索关键词</a>
        </div>
<%--        <img src="images/footer/store2.png" onclick="location.href='/Wap/Shop/ShoppingCart.aspx'" data-ajax="false" class="searchCart" />--%>
    </div>

<%} %>

<%--    --%>
</div>